package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.BaseUserRole;
import com.briup.jz.utils.CustomerException;

public interface BaseUserRoleService {

	void saveOrUpdate(BaseUserRole baseUserRole) throws CustomerException;

	List<BaseUserRole> query(Long name);

	void deleteById(long id) throws CustomerException;
	
	void updateByUserId(Long userId,Long roleId);
	}
